package com.wxsh.entity;

import java.io.Serializable;

/**
 * @author 
 * 
 */
public class VocTb implements Serializable {
    private Integer id;

    private String vcVocabulary;

    private String vcPhoneticUk;

    private String vcPhoneticUs;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVcVocabulary() {
        return vcVocabulary;
    }

    public void setVcVocabulary(String vcVocabulary) {
        this.vcVocabulary = vcVocabulary;
    }

    public String getVcPhoneticUk() {
        return vcPhoneticUk;
    }

    public void setVcPhoneticUk(String vcPhoneticUk) {
        this.vcPhoneticUk = vcPhoneticUk;
    }

    public String getVcPhoneticUs() {
        return vcPhoneticUs;
    }

    public void setVcPhoneticUs(String vcPhoneticUs) {
        this.vcPhoneticUs = vcPhoneticUs;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        VocTb other = (VocTb) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getVcVocabulary() == null ? other.getVcVocabulary() == null : this.getVcVocabulary().equals(other.getVcVocabulary()))
            && (this.getVcPhoneticUk() == null ? other.getVcPhoneticUk() == null : this.getVcPhoneticUk().equals(other.getVcPhoneticUk()))
            && (this.getVcPhoneticUs() == null ? other.getVcPhoneticUs() == null : this.getVcPhoneticUs().equals(other.getVcPhoneticUs()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getVcVocabulary() == null) ? 0 : getVcVocabulary().hashCode());
        result = prime * result + ((getVcPhoneticUk() == null) ? 0 : getVcPhoneticUk().hashCode());
        result = prime * result + ((getVcPhoneticUs() == null) ? 0 : getVcPhoneticUs().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", vcVocabulary=").append(vcVocabulary);
        sb.append(", vcPhoneticUk=").append(vcPhoneticUk);
        sb.append(", vcPhoneticUs=").append(vcPhoneticUs);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}